<?php require 'gauche.tpl.php';?>

	<div id="content">
		<div>
			<h2><?php echo $titre?></h2>
			<fieldset>
			<legend><?php echo $fieldSet1?></legend>
			<ul>
			<?php foreach ($mods as $mod) {?>
			    <li class="puce"><a href="<?php echo $mod['lien_url']?>" title="<?php echo $mod['lien_description']?>" target="_blank"><?php echo $mod['lien_name']?></a> <img class="delete" id="edit_<?php echo $mod['lien_id']?>" src="<?php echo $baseUri?>images/edit.png" alt="edit" title="modifier l'élément" /> <img class="delete" id="delete_<?php echo $mod['lien_id']?>" src="<?php echo $baseUri?>images/Garbage-Closed.png" alt="delete" title="supprimer l'élément" /></li>
			<?php }?> 
			    <li class="puce"><a href="#" id="addRessourceLink" title="Cliquer ici pour ajouter un élement">Ajouter un élément</a></li>
			</ul>
			</fieldset>
<div id="addRessource" class="boiteModale">
<h2>Ajouter un élément</h2>
			<form action="" method="post">
			<fieldset>
			<legend><?php echo $fieldSet1?></legend>
			<p>
			    <label for="frm_nom">Nom</label><input type="text" name="frm_nom" size="50"/>
		    </p>
		    <p>
			    <label for="frm_description">Description</label><textarea rows="4" cols="50" name="frm_description"></textarea>
			</p>
			<p>
			    <label for="frm_lien">lien</label><input type="text" name="frm_lien" size="100"/>
		    </p>
			</fieldset>
			<div class="boutons">
			    <input type="reset" value="Annuler" />
			    <input type="submit" value="Enregistrer" />
			</div>
			<input type="hidden" name="frm_id" />
			</form>
</div>
        </div>
	</div>